package com.library.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BookVO implements Serializable {

    private Long id;

    //书籍标题
    private String title;

    //作者
    private String author;

    //ISBN
    private String isbn;

    //出版时间
    private LocalDate publishDate;

    //书本分类
    private String category;

    //书价格
    private BigDecimal price;

    //书籍封面图片
    private String cover;

    //书籍描述
    private String description;

    //书籍库存
    private Integer stock;

    //书籍已借出数目
    private Integer borrowed;
}
